package com.lvkerry.orderfood.repository;


import com.lvkerry.orderfood.entity.UserDeskEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.QueryByExampleExecutor;
import org.springframework.stereotype.Repository;

/**
 * @author Kerry
 */

@Repository
public interface UserDeskRepository extends JpaRepository<UserDeskEntity, Long>, QueryByExampleExecutor<UserDeskEntity> {

    UserDeskEntity findByUserId(Long userId);


}
